﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using VisionCloud.Domain.Filters;
using static VisionCloud.Core.Model.Ms.MsTask;

namespace VisionCloud.Domain.DtoModel.MiniApp
{
    public class UpdateTaskStatusRequestDto
    {
        /// <summary>
        /// 任务Id列表
        /// </summary>
        [Required, MinLength(1)] public List<Guid> TaskIds { get; set; }

        /// <summary>
        /// 任务状态：已完成 = 1,已开始 = 3
        /// </summary>
        [Required, LimitedEnum(typeof(TaskStatus), 1, 3)] public TaskStatus Status { get; set; }
    }
}
